home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 March / Gamestar_71_2005-03_dvd.iso / Dema / willofsteel_demo.exe / {app} / Data / gui / mission.gui < prev    next >
Text File  |  2004-12-18  |  13KB  |  465 lines

  1. ID_BUTTON            = 0 
  2. ID_FRAME            = 7 
  3. PGUI_1STBUTTON_DOWN            =  0 
  4. PGUI_1STBUTTON_UP            =  1 
  5. PGUI_1STBUTTON_CLCK            =  2
  6. PGUI_1STBUTTON_DBLCLCK      =  3
  7. PGUI_1STBUTTON_DRAG            =  4
  8. PGUI_1STBUTTON_DROP            =  5
  9. PGUI_2NDBUTTON_DOWN            =  6
  10. PGUI_2NDBUTTON_UP            =  7
  11. PGUI_2NDBUTTON_CLCK            =  8
  12. PGUI_2NDBUTTON_DBLCLCK        =  9
  13. PGUI_2NDBUTTON_DRAG            = 10
  14. PGUI_2NDBUTTON_DROP            = 11
  15. PGUI_POINTER_MOVE            = 12
  16. PGUI_POINTER_HOVER            = 13
  17. PGUI_POINTER_LEAVE            = 14
  18. PGUI_POINTER_DRAG_HOVER        = 15
  19. PGUI_POINTER_DRAG_LEAVE        = 16
  20. PGUI_CHAR_PRESSED            = 17
  21. PGUI_KEY_PRESSED            = 18
  22. PGUI_VALUE_CHANGED            = 19
  23. PGUI_RELEASE_FOCUS            = 20
  24. PGUI_INITIALISATION            = 21
  25. PGUI_ANIMATION_FINISHED        = 22
  26.  
  27. CreateGUI("mission");
  28.  
  29. id=GUIADDCONTROL {
  30.     Parent     = 0,
  31.     Name       = "MissionFrame",
  32.     Title       = "MissionFrame",
  33.     ControlType= ID_FRAME,
  34.     BoundRect  = {0,0,1024,768},
  35.     Texture    = "GUI/Play_left.dds",
  36.     Rec1STTexture = {0,510,1,511},
  37. };
  38.  
  39. GUIADDCONTROL {
  40.     Parent     = id,
  41.     Name       = "profile_right",
  42.     Title       = "profile_right",
  43.     ControlType= ID_FRAME,
  44.     BoundRect  = {537,108,824,620},
  45.     Texture    = "GUI/Play_right.dds",
  46.     Rec1STTexture = {0,0,287,512},
  47. };
  48.  
  49. GUIADDCONTROL {
  50.     Parent     = id,
  51.     Name       = "profile_left",
  52.     Title       = "profile_left",
  53.     ControlType= ID_FRAME,
  54.     BoundRect  = {199,108,536,620},
  55.     Texture    = "GUI/Play_left.dds",
  56.     Rec1STTexture = {0,0,337,512},
  57. };
  58.  
  59. MapButton = GUIADDCONTROL {
  60.     Parent     = id,
  61.     Name       = "Mission1_a",
  62.     ControlType= ID_RADIO_BUTTON,
  63.     BoundRect  = {248,217,358,246},
  64.     Texture    = "GUI/Play_left.dds",
  65.     Rec1STTexture = {336,247,446,276},
  66.     Rec2NDTexture = {336,247,446,276},
  67.     Rec3RDTexture = {336,15,446,44},
  68.     Rec4THTexture = {336,15,446,44},
  69.  
  70.     MESSAGE_MAP = {
  71.         {PGUI_INITIALISATION , "INITM_01"},
  72.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  73.     },
  74. };
  75.  
  76. GUIADDCONTROL {
  77.     Parent     = id,
  78.     Name       = "Mission2_a",
  79.     ControlType= ID_RADIO_BUTTON,
  80.     MessageParentID = MapButton,
  81.     BoundRect  = {248,217+36,358,246+36},
  82.     Texture    = "GUI/Play_left.dds",
  83.     Rec1STTexture = {336,276,446,305},
  84.     Rec2NDTexture = {336,276,446,305},
  85.     Rec3RDTexture = {336,44,446,73},
  86.     Rec4THTexture = {336,44,446,73},
  87.  
  88.     MESSAGE_MAP = {
  89.         {PGUI_INITIALISATION , "INITM_02"},
  90.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  91.     },
  92. };
  93.  
  94. GUIADDCONTROL {
  95.     Parent     = id,
  96.     Name       = "Mission3_a",
  97.     ControlType= ID_RADIO_BUTTON,
  98.     MessageParentID = MapButton,
  99.     BoundRect  = {248,217+36+36,358,246+36+36},
  100.     Texture    = "GUI/Play_left.dds",
  101.     Rec1STTexture = {336,305,446,334},
  102.     Rec2NDTexture = {336,305,446,334},
  103.     Rec3RDTexture = {336,73,446,102},
  104.     Rec4THTexture = {336,73,446,102},
  105.  
  106.     MESSAGE_MAP = {
  107.         {PGUI_INITIALISATION , "INITM_03"},
  108.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  109.     },
  110. };
  111.  
  112. GUIADDCONTROL {
  113.     Parent     = id,
  114.     Name       = "Mission4_a",
  115.     ControlType= ID_RADIO_BUTTON,
  116.     MessageParentID = MapButton,
  117.     BoundRect  = {248,217+36+36+36,358,246+36+36+36},
  118.     Texture    = "GUI/Play_left.dds",
  119.     Rec1STTexture = {336,334,446,363},
  120.     Rec2NDTexture = {336,334,446,363},
  121.     Rec3RDTexture = {336,102,446,131},
  122.     Rec4THTexture = {336,102,446,131},
  123.  
  124.     MESSAGE_MAP = {
  125.         {PGUI_INITIALISATION , "INITM_04"},
  126.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  127.     },
  128. };
  129.  
  130.  
  131. GUIADDCONTROL {
  132.     Parent     = id,
  133.     Name       = "Mission5_a",
  134.     ControlType= ID_RADIO_BUTTON,
  135.     MessageParentID = MapButton,
  136.     BoundRect  = {248,217+36+36+36+36,358,246+36+36+36+36},
  137.     Texture    = "GUI/Play_left.dds",
  138.     Rec1STTexture = {336,363,446,392},
  139.     Rec2NDTexture = {336,363,446,392},
  140.     Rec3RDTexture = {336,131,446,160},
  141.     Rec4THTexture = {336,131,446,160},
  142.  
  143.     MESSAGE_MAP = {
  144.         {PGUI_INITIALISATION , "INITM_05"},
  145.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  146.     },
  147. };
  148.  
  149.  
  150. GUIADDCONTROL {
  151.     Parent     = id,
  152.     Name       = "Mission6_a",
  153.     ControlType= ID_RADIO_BUTTON,
  154.     BoundRect  = {248,217+36+36+36+36+36,358,246+36+36+36+36+36},
  155.     MessageParentID = MapButton,
  156.     Texture    = "GUI/Play_left.dds",
  157.     Rec1STTexture = {336,392,446,421},
  158.     Rec2NDTexture = {336,392,446,421},
  159.     Rec3RDTexture = {336,161,446,189},
  160.     Rec4THTexture = {336,161,446,189},
  161.  
  162.     MESSAGE_MAP = {
  163.         {PGUI_INITIALISATION , "INITM_06"},
  164.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  165.     },
  166. };
  167.  
  168.  
  169. GUIADDCONTROL {
  170.     Parent     = id,
  171.     Name       = "Mission7_a",
  172.     ControlType= ID_RADIO_BUTTON,
  173.     MessageParentID = MapButton,
  174.     BoundRect  = {248,217+36+36+36+36+36+36,358,246+36+36+36+36+36+36},
  175.     Texture    = "GUI/Play_left.dds",
  176.     Rec1STTexture = {336,421,446,450},
  177.     Rec2NDTexture = {336,421,446,450},
  178.     Rec3RDTexture = {336,189,446,218},
  179.     Rec4THTexture = {336,189,446,218},
  180.  
  181.     MESSAGE_MAP = {
  182.         {PGUI_INITIALISATION , "INITM_07"},
  183.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  184.     },
  185. };
  186.  
  187.  
  188. GUIADDCONTROL {
  189.     Parent     = id,
  190.     Name       = "Mission8_a",
  191.     ControlType= ID_RADIO_BUTTON,
  192.     BoundRect  = {248,217+36+36+36+36+36+36+36,358,246+36+36+36+36+36+36+36},
  193.     Texture    = "GUI/Play_left.dds",
  194.     MessageParentID = MapButton,
  195.     Rec1STTexture = {336,450,446,479},
  196.     Rec2NDTexture = {336,450,446,479},
  197.     Rec3RDTexture = {336,218,446,247},
  198.     Rec4THTexture = {336,218,446,247},
  199.  
  200.     MESSAGE_MAP = {
  201.         {PGUI_INITIALISATION , "INITM_08"},
  202.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  203.     },
  204. };
  205.  
  206.  
  207. GUIADDCONTROL {
  208.     Parent     = id,
  209.     Name       = "Mission1_i",
  210.     ControlType= ID_RADIO_BUTTON,
  211.     BoundRect  = {409,217,518,246},
  212.     MessageParentID = MapButton,
  213.     Texture    = "GUI/Play_left.dds",
  214.     Rec1STTexture = {336,247,446,276},
  215.     Rec2NDTexture = {336,247,446,276},
  216.     Rec3RDTexture = {336,15,446,44},
  217.     Rec4THTexture = {336,15,446,44},
  218.  
  219.     MESSAGE_MAP = {
  220.         {PGUI_INITIALISATION , "INITM_09"},
  221.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  222.     },
  223. };
  224.  
  225. GUIADDCONTROL {
  226.     Parent     = id,
  227.     Name       = "Mission2_a",
  228.     ControlType= ID_RADIO_BUTTON,
  229.     BoundRect  = {409,217+36,518,246+36},
  230.     Texture    = "GUI/Play_left.dds",
  231.     MessageParentID = MapButton,
  232.     Rec1STTexture = {336,276,446,305},
  233.     Rec2NDTexture = {336,276,446,305},
  234.     Rec3RDTexture = {336,44,446,73},
  235.     Rec4THTexture = {336,44,446,73},
  236.  
  237.     MESSAGE_MAP = {
  238.         {PGUI_INITIALISATION , "INITM_10"},
  239.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  240.     },
  241. };
  242.  
  243. GUIADDCONTROL {
  244.     Parent     = id,
  245.     Name       = "Mission3_a",
  246.     ControlType= ID_RADIO_BUTTON,
  247.     BoundRect  = {409,217+36+36,518,246+36+36},
  248.     Texture    = "GUI/Play_left.dds",
  249.     MessageParentID = MapButton,
  250.     Rec1STTexture = {336,305,446,334},
  251.     Rec2NDTexture = {336,305,446,334},
  252.     Rec3RDTexture = {336,73,446,102},
  253.     Rec4THTexture = {336,73,446,102},
  254.  
  255.     MESSAGE_MAP = {
  256.         {PGUI_INITIALISATION , "INITM_11"},
  257.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  258.     },
  259. };
  260.  
  261. GUIADDCONTROL {
  262.     Parent     = id,
  263.     Name       = "Mission4_a",
  264.     ControlType= ID_RADIO_BUTTON,
  265.     BoundRect  = {409,217+36+36+36,518,246+36+36+36},
  266.     MessageParentID = MapButton,
  267.     Texture    = "GUI/Play_left.dds",
  268.     Rec1STTexture = {336,334,446,363},
  269.     Rec2NDTexture = {336,334,446,363},
  270.     Rec3RDTexture = {336,102,446,131},
  271.     Rec4THTexture = {336,102,446,131},
  272.  
  273.     MESSAGE_MAP = {
  274.         {PGUI_INITIALISATION , "INITM_12"},
  275.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  276.     },
  277. };
  278.  
  279.  
  280. GUIADDCONTROL {
  281.     Parent     = id,
  282.     Name       = "Mission5_a",
  283.     ControlType= ID_RADIO_BUTTON,
  284.     BoundRect  = {409,217+36+36+36+36,518,246+36+36+36+36},
  285.     Texture    = "GUI/Play_left.dds",
  286.     MessageParentID = MapButton,
  287.     Rec1STTexture = {336,363,446,392},
  288.     Rec2NDTexture = {336,363,446,392},
  289.     Rec3RDTexture = {336,131,446,160},
  290.     Rec4THTexture = {336,131,446,160},
  291.  
  292.     MESSAGE_MAP = {
  293.         {PGUI_INITIALISATION , "INITM_13"},
  294.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  295.     },
  296. };
  297.  
  298.  
  299. GUIADDCONTROL {
  300.     Parent     = id,
  301.     Name       = "Mission6_a",
  302.     ControlType= ID_RADIO_BUTTON,
  303.     BoundRect  = {409,217+36+36+36+36+36,518,246+36+36+36+36+36},
  304.     MessageParentID = MapButton,
  305.     Texture    = "GUI/Play_left.dds",
  306.     Rec1STTexture = {336,392,446,421},
  307.     Rec2NDTexture = {336,392,446,421},
  308.     Rec3RDTexture = {336,161,446,189},
  309.     Rec4THTexture = {336,161,446,189},
  310.  
  311.     MESSAGE_MAP = {
  312.         {PGUI_INITIALISATION , "INITM_14"},
  313.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  314.     },
  315. };
  316.  
  317.  
  318. GUIADDCONTROL {
  319.     Parent     = id,
  320.     Name       = "Mission7_a",
  321.     ControlType= ID_RADIO_BUTTON,
  322.     BoundRect  = {409,217+36+36+36+36+36+36,518,246+36+36+36+36+36+36},
  323.     Texture    = "GUI/Play_left.dds",
  324.     MessageParentID = MapButton,
  325.     Rec1STTexture = {336,421,446,450},
  326.     Rec2NDTexture = {336,421,446,450},
  327.     Rec3RDTexture = {336,189,446,218},
  328.     Rec4THTexture = {336,189,446,218},
  329.  
  330.     MESSAGE_MAP = {
  331.         {PGUI_INITIALISATION , "INITM_15"},
  332.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  333.     },
  334. };
  335.  
  336.  
  337. GUIADDCONTROL {
  338.     Parent     = id,
  339.     Name       = "Mission8_a",
  340.     ControlType= ID_RADIO_BUTTON,
  341.     BoundRect  = {409,217+36+36+36+36+36+36+36,518,246+36+36+36+36+36+36+36},
  342.     Texture    = "GUI/Play_left.dds",
  343.     MessageParentID = MapButton,
  344.     Rec1STTexture = {336,450,446,479},
  345.     Rec2NDTexture = {336,450,446,479},
  346.     Rec3RDTexture = {336,218,446,247},
  347.     Rec4THTexture = {336,218,446,247},
  348.  
  349.     MESSAGE_MAP = {
  350.         {PGUI_INITIALISATION , "INITM_16"},
  351.         {PGUI_1STBUTTON_CLCK , "MissionClick"},
  352.     },
  353. };
  354.  
  355.  
  356. GUIADDCONTROL {
  357.     Parent     = id,
  358.     Name       = "Back",
  359.     ControlType= ID_BUTTON,
  360.     BoundRect  = {554,581,663,610},
  361.     Texture    = "GUI/Play_right.dds",
  362.     Rec1STTexture = {510,0,511,1},
  363.     Rec2NDTexture = {287,174,396,203},
  364.     Rec3RDTexture = {510,0,511,1},
  365.     Rec4THTexture = {510,0,511,1},
  366.  
  367.     MESSAGE_MAP = {
  368.         {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_NO"},
  369.     },
  370. };
  371.  
  372. GUIADDCONTROL {
  373.     Parent     = id,
  374.     Name       = "Briefing",
  375.     ControlType= ID_BUTTON,
  376.     BoundRect  = {682,582,791,610},
  377.     Texture    = "GUI/Play_right.dds",
  378.     Rec1STTexture = {510,0,511,1},
  379.     Rec2NDTexture = {287,145,396,174},
  380.     Rec3RDTexture = {510,0,511,1},
  381.     Rec4THTexture = {510,0,511,1},
  382.  
  383.     MESSAGE_MAP = {
  384.         {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_YES"},
  385.     },
  386. };
  387.  
  388. GUIADDCONTROL {
  389.     Parent     = id,
  390.     Name       = "Campaign",
  391.     ControlType= ID_BUTTON,
  392.     BoundRect  = {586,525,758,554},
  393.     Texture    = "GUI/Play_right.dds",
  394.     Rec1STTexture = {287,0,459,29},
  395.     Rec2NDTexture = {287,29,459,58},
  396.     Rec3RDTexture = {287,58,459,87},
  397.     Rec4THTexture = {287,58,459,87},
  398.  
  399.     MESSAGE_MAP = {
  400.         {PGUI_INITIALISATION , "INITCAMPAIGN"},
  401.         {PGUI_1STBUTTON_CLCK , "SINGLE_TOGGLE"},
  402.     },
  403. };
  404.  
  405. GUIADDCONTROL {
  406.     Parent     = id,
  407.     Name       = "SingleMission",
  408.     ControlType= ID_BUTTON,
  409.     BoundRect  = {586,525,758,554},
  410.     Texture    = "GUI/Play_right.dds",
  411.     Rec1STTexture = {510,0,511,1},
  412.     Rec2NDTexture = {287,87,460,116},
  413.     Rec3RDTexture = {287,116,460,145},
  414.     Rec4THTexture = {287,116,460,145},
  415.  
  416.     MESSAGE_MAP = {
  417.         {PGUI_INITIALISATION , "INITSINGLE"},
  418.         {PGUI_1STBUTTON_CLCK , "SINGLE_TOGGLE"},
  419.     },
  420. };
  421.  
  422. GUIADDCONTROL {
  423.    Parent      = id,
  424.    Name        = "MissionName",
  425.    ControlType = ID_TEXT_BOX,
  426.    Long1st     = PGUI_SINGLELINE_TEXT,
  427.    BoundRect   = {250,525,527,555},
  428.    Texture     = "GUI/Play_left.dds",
  429.    Rec1STTexture = {0,510,1,511},
  430.    Res2NDTexture = {0,510,1,511},
  431.    FontColor  = 4290494599,
  432.    FontHeight = 23,
  433.    FontWidth  = 0,
  434.  
  435.    MESSAGE_MAP = {
  436.         {PGUI_INITIALISATION , "INITPLAYERNAME"},
  437.    },
  438. };
  439.  
  440. GUIADDCONTROL {
  441.     Parent     = id,
  442.     Name       = "MissionPicture",
  443.     ControlType= ID_PICTURE_BOX ,
  444.     BoundRect  = {553,181,790,355},
  445.     Texture    = "GUI/missionPIC_01.DDS",
  446.     Rec1STTexture = {0,0,237,174},
  447.  
  448.    MESSAGE_MAP = {
  449.         {PGUI_INITIALISATION , "MISSIONPICTURE"},
  450.    },
  451. };
  452.  
  453. GUIADDCONTROL {
  454.     Parent     = id,
  455.     Name       = "MissionText",
  456.     ControlType= ID_PICTURE_BOX ,
  457.     BoundRect  = {553,373,790,507},
  458.     Texture    = "GUI/missionTEXT_01.DDS",
  459.     Rec1STTexture = {0,0,236,132},
  460.  
  461.    MESSAGE_MAP = {
  462.         {PGUI_INITIALISATION , "MISSIONTEXT"},
  463.    },
  464. };
  465.